package sisi.suppliers;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;


/**
 * Supplierproduct.java - The persistent class for the <i>supplier products database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 10/12/2013
 * 
 */
@Entity
public class Supplierproduct implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="SUPPLIERPRODUCT_ID_GENERATOR", sequenceName="SUPPLIERPRODUCTSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SUPPLIERPRODUCT_ID_GENERATOR")
	private Integer id;

	private Date dtup;

	@Column(name="logic_delete")
	private Boolean logicDelete;

	private Integer prodid;

	private String prodname;

	private Integer seq;

	private Integer supid;

	private String supname;

	public Supplierproduct() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public Boolean getLogicDelete() {
		return this.logicDelete;
	}

	public void setLogicDelete(Boolean logicDelete) {
		this.logicDelete = logicDelete;
	}

	public Integer getProdid() {
		return this.prodid;
	}

	public void setProdid(Integer prodid) {
		this.prodid = prodid;
	}

	public String getProdname() {
		return this.prodname;
	}

	public void setProdname(String prodname) {
		this.prodname = prodname;
	}

	public Integer getSeq() {
		return this.seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getSupid() {
		return this.supid;
	}

	public void setSupid(Integer supid) {
		this.supid = supid;
	}

	public String getSupname() {
		return this.supname;
	}

	public void setSupname(String supname) {
		this.supname = supname;
	}

	public Date getDtup() {
		return dtup;
	}

	public void setDtup(Date dtup) {
		this.dtup = dtup;
	}

}